﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="List.aspx.cs" Inherits="Enterprise.UI.Web.Manage.DepartMent.List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" type="text/css" href="../../Styles/css/gridview.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPH" runat="server">
    <div class="vDaohangtiaoHolder module">
        <div class="vDaohangtiao">
            <ul>
                <li class="first">
                    <a href="/index.aspx" title="首页">首页</a>
                </li>
                <li>系统管理</li>
                <li class="last">组织机构
                </li>
            </ul>
        </div>
    </div>
    <Ent:HeadMenuWeb ID="HeadMenu1" runat="server">
    </Ent:HeadMenuWeb>
    <asp:GridView ID="GridView1" runat="server" DataKeyNames="DeptId" AutoGenerateColumns="false"
        Width="100%" OnRowDataBound="GridView1_OnRowDataBound">
        <Columns>
            <asp:TemplateField ItemStyle-Width="30">
                <ItemTemplate>
                    <img src="../../Manage/Common/img/arrow_142.gif" alt="" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField ItemStyle-Width="30" HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex+1 %>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:HyperLinkField DataTextField="dName" HeaderText="名称" DataNavigateUrlFields="DeptId"
                DataNavigateUrlFormatString="Detail.aspx?Id={0}" ItemStyle-HorizontalAlign="Left" />
            <asp:TemplateField HeaderText="排序" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="60">
                <ItemTemplate>
                    <a href="List.aspx?dId=<%#Eval("DeptId") %>&Action=Up">
                        <img src="../../Manage/Common/img/up.gif" title="上移" alt="" border="0" /></a>&nbsp;&nbsp;<a
                            href="List.aspx?dId=<%#Eval("DeptId") %>&Action=Down"><img src="../../Manage/Common/img/down.gif"
                                title="下移" alt="" border="0" /></a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
</asp:Content>
